﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginEmpresa.aspx.cs" Inherits="VemTransporte.Views.UsuarioEmpresa.LoginEmpresa" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
</head>
<body id="corpo">
    <!-- Div Topo Inicio -->
    <div id="topo">
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">
        <div id="logoTopo"></div>
        </asp:HyperLink>
    </div>
    <!-- Div Topo Fim -->
    <!-- Div Mapa em flash Inicio -->
    <div id="mapa">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
            width="550" height="400" title="mapa">
            <param name="movie" value="/Content/Flashs/mapa.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <embed src="/Content/Flashs/mapa.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                type="application/x-shockwave-flash" allowscriptaccess="always" width="550" height="400">
                </embed>
        </object>
    </div>
    <!-- Div Mapa em flash Fim -->
    <!-- Div Formulario de Cadastro Inicio -->
    <div id="formCadastro">
        <form id="form1" runat="server">
        <div>
            <br />
            <label style="font-size: 24px; color: #203360; font-weight: bold">
                Acesso empresas</label>
            <p>
                <label style="font-size: 11px; font-family: Verdana; color: #203360;">
                    No VemTransporte você pode cadastrar sua empresa, e controlar sua frota de ônibus.</label>
            </p>
            <hr style="outline-style: none; color: #9aafca;" />
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification"
                ValidationGroup="LoginUserValidationGroup" />
            <div class="accountInfo">
                <label style="font-size: 18px; color: #203360; font-weight: bold">
                    Informações da conta empresas</label>
                <p>
                    <table style="width: 450px">
                        <tr>
                            <td align="left" class="style1">
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="TextBoxEmail" Font-Names="verdana"
                                    Font-Size="12px" ForeColor="#203360">E-mail:</asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="textEntry" Height="30px"
                                    BorderColor="#9aafca" Width="300px" Font-Size="14px" ValidationGroup="LoginUserValidationGroup"></asp:TextBox>
                            </td>
                            <td>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail"
                                    CssClass="field-validation-error" ErrorMessage="E-Mail está inválido!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" class="style1">
                                <asp:Label ID="PasswordLabel" runat="server" Font-Names="verdana" Font-Size="12px"
                                    ForeColor="#203360" AssociatedControlID="TextBoxPassword">Senha:</asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="TextBoxPassword" runat="server" CssClass="passwordEntry" TextMode="Password"
                                    ValidationGroup="LoginUserValidationGroup" Height="30px" BorderColor="#9aafca"
                                    Width="300px" Font-Size="14px" MaxLength="6"></asp:TextBox>
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="TextBoxPassword"
                                    CssClass="failureNotification" ErrorMessage="Senha é obrigatória." ToolTip="Senha é obrigatória."
                                    ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:CheckBox ID="RememberMe" runat="server" />
                                <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" Font-Names="verdana"
                                    Font-Size="12px" ForeColor="#203360" CssClass="inline">Manter logado</asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" align="right">
                                <p class="submitButton">
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Entrar" BackColor="#6ea954"
                                        BorderColor="#6ea954" ForeColor="White" Height="30px" Width="100px" ValidationGroup="LoginUserValidationGroup"
                                        OnClick="LoginButton_Click" />
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <hr style="outline-style: none; color: #9aafca;" />
                            </td>
                        </tr>
                    </table>
            </div>
        </div>
        </form>
    </div>
    <!-- Div Formulario de Cadastro Fim -->
</body>
</html>
